<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>test page</title>
 <meta charset="UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<script src="../js/jquery-3.5.1.min.js"></script>
 <script type="text/javascript">
function add()
{
            $.ajax({  
            type: "post",
            data:JSON.stringify({action:"list_floor_reply",title:"自闭症的真相",floor:1}),
            url:"../BBS/comment",
            dataType:"json",
            success: function(data){ 
            $("#json").text(JSON.stringify(data)); 
            } 
        }) 

}
</script> 

</head>
<body>

<div id="json">
    this is my jsp
    <p>
    <button id="ww" onclick="add()">Try it</button>
    </p>
    </div>
</body>
</html>
